Repository navigation
Show the fix text when the judgement proposes no change to the code - #83
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #74.
The last open part of #74: the Decisions screen hid a suggested improvement that the data contains.
Why
Under "Proposed fix", the fix was shown only when
fix.actionwas notnone. The AI job sometimes answers with actionnoneand useful text: either why no change is needed, or what to check first. That text was dropped and the screen said "No improvement proposed." In the published results this hit 2 of artemis's top 10 and 5 of shopware's.What changes
web/src/screens/decisions/FixFirst.tsx, one new branch:none: as before.none, non-empty text, and the judgement's text is being shown (AI text with AI on, or template text): the text is shown with its badge and without an action label.No other screen shows fix text, so nothing else changes. No change to data, contracts, Python or the bundles.
What I ran and saw
make checkpasses: ruff, 36 Python tests passed and 1 skipped, contracts up to date, typecheck, 4 web tests, build.The app was served locally and these pages of the committed bundles were rendered with headless Chrome; the "Proposed fix" text was read out of the rendered page.
getStates/setStatesaccessors are removed in v6.8.0 …"SetupStagingEventis the intended extension point …"GroupNotificationServiceusesProgrammingExercise. If it needs only general exercise data, …"TutorialGroupusesChannelDTO. If it only feeds a JSON view, …"none, empty text)move_symbol)ai=offTop 10 with AI on, counted from the data under this rule: all 10 show a suggestion in artemis, shopware and graylog.
Limits